<%@ page import="projetstackoverflow.Author" %>



<div class="fieldcontain ${hasErrors(bean: authorInstance, field: 'pseudo', 'error')} required">
	<label for="pseudo">
		<g:message code="author.pseudo.label" default="Pseudo" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="pseudo" required="" value="${authorInstance?.pseudo}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: authorInstance, field: 'mail', 'error')} required">
	<label for="mail">
		<g:message code="author.mail.label" default="Mail" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="mail" required="" value="${authorInstance?.mail}"/>
</div>



<div class="fieldcontain ${hasErrors(bean: authorInstance, field: 'password', 'error')} ">
	<label for="password">
		<g:message code="author.password.label" default="Password" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField required="" name="password" value="${authorInstance?.password}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: authorInstance, field: 'profile', 'error')} ">
	<label for="profile">
		<g:message code="author.profile.label" default="Profile" />
		<span class="required-indicator">*</span>
	</label>
	<g:textArea required="" name="profile" value="${authorInstance?.profile}"/>
</div>
